{% extends "base.html" %}

{% block style %}
    <link rel="stylesheet" href="/static/css/file_info.css" >
{% endblock %}

{% block content %}
    <div class="show">
        {% ifequal label "img" %}
            <img class="sizer" src="{{ src }}">
        {% endifequal %}
        {% ifequal label "video"  %}
            <video class="sizer" src="{{ src }}" controls="controls"></video>
        {% endifequal %}
        {% ifequal label "none" %}
            <p>当前格式不支持线上播放，请下载使用</p>
        {% endifequal %}

    </div>
{% endblock %}